#ifndef BOOKMARKDIALOG_H
#define BOOKMARKDIALOG_H

#include <QDialog>
#include <QPlainTextEdit>
#include "codeeditor.h"

namespace Ui {
class BookmarkDialog;
}

class BookmarkDialog : public QDialog
{
    Q_OBJECT

public:
    explicit BookmarkDialog(QWidget *parent = nullptr,CodeEditor* codeEditor=nullptr);
    ~BookmarkDialog();

    void updateBookmarkList();
private slots:
    void on_btnCancel_clicked();

    void on_btnAdd_clicked();

    void on_btnLocation_clicked();

    void on_btnDelete_clicked();

private:
    Ui::BookmarkDialog *ui;

    CodeEditor *pCodeEditor;
};

#endif // BOOKMARKDIALOG_H
